<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>登录页面</title>
</head>
<body>
<div class="container col-md-offset-3 col-md-6">
    <div class="panel-primary" style="margin-top: 100px;">
        <div class="panel-heading" style="border-top-left-radius: 30px; border-top-right-radius: 30px;">
            <h3 class="text-center">登录</h3>
        </div>
        <div class="panel-body bg-info" style="border-bottom-left-radius: 10px;border-bottom-right-radius: 10px;">
            <form action="" method="" class="form form-horizontal">
                {% csrf_token %}
                <div class="form-group">
                    <label for="username" class="control-label font-1 col-md-2 text-right">用户名：</label>
                    <div class="col-md-9 input-div">
                        <input type="text" id="username" class="form-control" name="username" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="password" class="control-label font-1 col-md-2 text-right">密码：</label>
                    <div class="col-md-9 input-div">
                        <input type="password" id="password" class="form-control" name="password" required>
                    </div>
                </div>
                <div class="form-group">
                    <label for="img_code" class="control-label font-1 col-md-2 text-right">验证码：</label>
                    <div class="col-md-4 input-div">
                        <input type="text" id="img_code" class="form-control" name="img_code" required>
                    </div>
                    <div class="col-md-5">
                        <img id="code" width="230" height="32" src="/login_code/" alt="">
                    </div>

                    <div class="form-group">
                        <input type="button" value="登录" class="login btn btn-primary col-md-4 col-md-offset-4">
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

<!-- Modal -->
<div class="modal fade" id="login-info" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
    <div class="modal-dialog" role="document">
        <div class="modal-content">
            <div class="modal-header">
                <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span
                        aria-hidden="true">&times;</span></button>
                <h4 class="modal-title" id="myModalLabel"></h4>
            </div>

            <div class="modal-footer">
                <button id="sure" type="button" class="btn btn-primary" data-dismiss="modal">确认
                </button>
            </div>
        </div>
    </div>
</div>
</body>


</html>